//LED Blinking

#include<p18F4580.h>
#include <delays.h>

void main()
{
  PORTB = 0x00;
  TRISB = 0b00000000;
  
  while(1)
  {
    PORTBbits.RB0 = 1;

    PORTBbits.RB1 = 1;
    PORTBbits.RB2 = 1;
    PORTBbits.RB3 = 1;
    Delay10KTCYx(10);

    PORTBbits.RB0 = 0;
    PORTBbits.RB1 = 0;
    PORTBbits.RB2 = 0;
    PORTBbits.RB3 = 0;
    Delay10KTCYx(10);

	}
}